package com.yu.xcx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu.xcx.dto.Result;
import com.yu.xcx.entity.Shop;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IShopService  extends IService<Shop> {

    Boolean saveShop(Shop shop);

    Result queryById(Integer id);

    Result updateShop(Shop shop);

    Result getAllShop();

    Result queryByName(String name, Integer pagenum);

    Result queryByType(Integer typeId, Integer pagenum);

    List<String> getImages(String iamges);

    Result deleteById(Integer shopId);

    Result queryByUser(Integer userId, Integer pagenum);

    Result getShopsById(List<Integer> shopsList, Integer pagenum);
}
